from __future__ import with_statement
import sys

with open(sys.argv[1], 'rb') as f:
    filebuf = f.read()

newbuf = filebuf[:0xDC] + chr(0x02) + filebuf[0xDD:]

with open(sys.argv[1], 'wb') as f:
    f.write(newbuf)

